package com.owc.domain.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author xiaom
 * @Date 2020/2/28 17:23
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("订单列表DTO")
public class OrderListDTO implements Serializable {

    @ApiModelProperty("订单列表")
    private List<OrderDTO> orders;

    @ApiModelProperty("已售出数量")
    private BigDecimal totalAmount = BigDecimal.ZERO;
}
